#ifndef IMU_H_
#define IMU_H_

#include "stdbool.h"

extern volatile bool landed;

#define BARO_TAB_SIZE   21

#if BARO

extern uint8_t getEstimatedAltitude();

#endif

extern void computeIMU();

extern int32_t mul(int16_t a, int16_t b);

extern void testLanding();

#endif /* IMU_H_ */
